﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Main.Master" AutoEventWireup="true"
    CodeBehind="Create.aspx.cs" Inherits="APMS.WebSite.Views.Project.Create" %>

<asp:Content ID="ScriptContent" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="PageTitleContent" ContentPlaceHolderID="PageTitleHolder" runat="server">
    <h2>Create New Project</h2>
</asp:Content>
<asp:Content ID="NavigationMenuContent" ContentPlaceHolderID="NavigationMenuHolder" runat="server">
</asp:Content>
<asp:Content ID="CommandLinkContent" ContentPlaceHolderID="CommandLinkHolder" runat="server">
</asp:Content>
<asp:Content ID="SidebarContent" ContentPlaceHolderID="SidebarHolder" runat="server">
</asp:Content>
<asp:Content ID="MainContent" ContentPlaceHolderID="ContentHolder" runat="server">
    <form method="post" action="/Project/Create">
    <div id="mainForm">
        <% if (ViewData[BaseController.KEY_ERROR_MSG] != null) { %>
        <div class="error"><%=ViewData[BaseController.KEY_ERROR_MSG].ToString()%></div>
        <% } %>
        
        <h3>Project Name</h3>
        <p class="blockintro">The project name appears at the top of every page.</p>
        <div class="block">
            <p><%=Html.TextBox("projectName", new { id = "tx_projectName", title = "Project Name", size = "40" })%></p>
        </div>
        <h3>Project Logo</h3>
        <p class="blockintro">The project logo appears XXX [TBD]</p>
        <div class="block">
            <p><%=Html.TextBox("logo", new { id = "tx_logo", title = "Project Logo", size = "40" })%></p>
        </div>
        <%-- Submit Action--%>
        <div class="action">
            <%-- TODO: Validate Form --%>
            <input id="bt_save" type="submit" class="button" value="Create Project" />
        </div>
    </div>
    </form>
</asp:Content>
